|
PHY LOAD RIGID BODY DYNAMIC MESH
Load data from a dynamic mesh file and apply this to an object.
PHY LOAD RIGID BODY DYNAMIC MESH ID, file$
PHY LOAD RIGID BODY DYNAMIC MESH ID, file$, material
ID
Integer
identification number of the 3D object that will be represented by the Mesh data
file$
String
the data from file to be loaded, this must have been saved with phy make rigid body dynamic mesh
material
Integer
this parameter is optional, a material can be specified if required upon creation of a dynamic rigid body mesh, by specifying a material you can have further control over how the object will react with other objects in regard to properties such as its re
This command can be a much better approach as using pre calculated data will be faster than having to compute dynamic meshes each time you run your program.
No example code is provided for this command
|